<script>
export default {
  name: "AegleForm",
  props: {
    schema: {
      type: Object,
      default: null,
    },
  },

  provide() {
    return {
      "el-form-1": this,
    };
  },
  computed: {
 
  },



  data() {
    return {
      form: {}
    }
  },


  render() {
    return (
      <el-form
        class={["form-container"]}
        style={{ ...this.schema.style }}
        ref={this.schema.ref}
        labelWidth={this.schema.props.labelWidth}
        props={{ ...this.schema.props }}
        onInput={() => {}}
      >
        {this.$slots.default}
      </el-form>
    );
  },
};
</script>

<style lang="scss" scoped>
.form-container {
  // border: 1px solid;
}
</style>
